package com.f5.management.dao;

import com.f5.management.entity.Member;
import com.f5.management.entity.Pet;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface PetDao {
   void insertOne(Pet pet);//插入一条宠物数据
    void updatePet(@Param("pet") Pet pet ,@Param("id") int id);
    void deletePetById(int id);
    Pet selectPetById(int id);
    List<Pet> getAllPets();



}
